package cn.com.greatwall.system.modules.system.service.dto.criteria;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

import cn.com.greatwall.common.annotation.Query;
import lombok.Data;

/** 
* @Author herw
* @Time 2020-07-01 12:02:17 PM 
* @Version 1.0
* @Description: 公共查询类
*/
@Data
public class UserQueryCriteria implements Serializable {
    @Query
    private Long id;
    
    @Query(propName = "id", type = Query.Type.IN, joinName = "dept")
    private Set<Long> deptIds = new HashSet<>();
    
    @Query(blurry = "email,username,nickName")
    private String blurry;
    
    @Query
    private Boolean enabled;
    
    private Long deptId;
    
    @Query(type = Query.Type.BETWEEN)
    private List<Timestamp> createTime;
}
